/*
 *	Copyright © 2013 Changsha Shishuo Network Technology Co., Ltd. All rights reserved.
 *	长沙市师说网络科技有限公司 版权所有
 *	http://www.shishuo.com
 */

package com.hlingsoft.cms.dao;

import com.hlingsoft.cms.entity.Coupon;
import com.hlingsoft.cms.entity.Image;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 网站配置
 * 
 * @author Zhangjiale
 * 
 */

@Repository
public interface CouponDao {



	/**
	 * 添加图片
	 * 
	 * @return Integer
	 */
	public long addCoupon(Coupon coupon);


	public List<Coupon> getImageByAppUserId(@Param("appUserId") long appUserId);


	public Coupon getCouponById(@Param("id") long id);




}
